package com.flick.auth2.dao;

import com.flick.po.SysUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

/**
 * @author flick on 2017/5/3.
 * @version 1.0
 */
@Component
public interface SysUserRepository extends JpaRepository<SysUser,String> {
    SysUser findByUsername(String username);
}
